package com.huilian.iotbox.data.vo;

import com.huilian.iotbox.data.dto.QueryParam;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class LedgerOrderVo extends QueryParam implements Serializable {
    private Integer id;
    /**
     * 订单ID
     */
    private Long orderId;
    /**
     * activity_order表ID
     */
    private Long activityOrderId;
    /**
     * 用户ID
     */
    private Integer userId;
    /**
     * 场地Id
     */
    private Integer merchantStoreId;
    /**
     * 商户号
     */
    private Integer merchantId;
    /**
     * 分账所得总金额，包含costAmount字段
     */
    private BigDecimal money;
    /**
     * 成本金额（分账商户不参与分账的的金额）
     */
    private BigDecimal costAmount;
    /**
     * 承担的支付手续费
     */
    private BigDecimal handlingCharge;
    /**
     * 分账比例
     */
    private BigDecimal rate;
    /**
     * 订单类型：1.order表，2.activity_order表
     */
    private Integer orderType;
    /**
     * 分账类型：1.普通分账，2.抖音美团核销手续费
     */
    private Integer ledgerType;

    private Date createTime;

    private String outTradeNo;
    private String storeName;
    private String username;
    private String mobile;
    private Integer status;
    private String agencyName;
    private String merchantShortName;
    /**
     * 商户号
     */
    private String merchantShortId;
    private String agencyNo;
    private BigDecimal stateTippingTotal;
    private BigDecimal stateLedgerTotal;
    private BigDecimal totalAmount;
}
